package com.skynet.supervision.beans.request.users;

import com.skynet.supervision.aop.validate.GoodString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

@ApiModel
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginRequest implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true, example = "test")
    @GoodString
    private String account;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true, example = "test")
    @GoodString
    private String password;
}
